import request from '@/utils/request'

// 查询战略政策列表
export function listPolicie(query) {
  return request({
    url: '/business/policie/list',
    method: 'get',
    params: query
  })
}

// 查询战略政策详细
export function getPolicie(id) {
  return request({
    url: '/business/policie/' + id,
    method: 'get'
  })
}

// 新增战略政策
export function addPolicie(data) {
  return request({
    url: '/business/policie',
    method: 'post',
    data: data
  })
}

// 修改战略政策
export function updatePolicie(data) {
  return request({
    url: '/business/policie',
    method: 'put',
    data: data
  })
}

// 删除战略政策
export function delPolicie(id) {
  return request({
    url: '/business/policie/' + id,
    method: 'delete'
  })
}
